<?php
include_once('framework/fckeditor/fckeditor.php') ;
include_once('framework/fckeditor/editor/filemanager/connectors/php/config.php') ;

class HTMLEditor{
	private function __construct(){
	}
	public static function newInstance($instanceName,$basePath,$defaultValue=null){
		$editor = new FCKeditor($instanceName);
		$editor->BasePath = $basePath;
		$editor->ToolbarSet = 'Custom';
		$editor->Value = $defaultValue;
		return $editor;
	}
}

?>